<div id="decView"></div>
<div class="layui-card-header"><span class="def-fc left-split"><i class="fa fa-address-card-o"></i>主单信息</span></div>
<div class="layui-card-body">
    <div id="settlementAccountView"></div>
</div>

<div class="layui-card-header"><span class="def-fc left-split"><i class="fa fa-list"></i>收款单</span></div>
<div class="layui-card-body">
    <table class="layui-hide" id="account-list" lay-filter="account-list"></table>
</div>
<div class="layui-card-header"><span class="def-fc left-split"><i class="fa fa-list"></i>订单</span></div>
<div class="layui-card-body">
    <table class="layui-hide" id="order-list" lay-filter="order-list"></table>
</div>
<script type="text/html" id="statusTemp">
    <a href="javascript:" class="{{d.statusId}}" lay-event="statusOperation">{{d.statusDesc}}</a>
</script>
<script type="text/html" id="settlementAccountViewTemp">
    <div class="layui-row">
        <div class="layui-col-md3"><label class="fkey">系统单号：</label><label class="fval">{{d.docNo}}</label></div>
        <div class="layui-col-md3"><label class="fkey">结汇日期：</label><label class="fval">{{removeNull(d.settlementDate)}}</label></div>
        <div class="layui-col-md3"><label class="fkey">结汇主体：</label><label class="fval">{{removeNull(d.subjectName)}}</label></div>
        <div class="layui-col-md3"><label class="fkey">结汇银行：</label><label class="fval">{{removeNull(d.subjectBank)}}（{{removeNull(d.subjectBankNo)}}）</label></div>
    </div>
    <div class="layui-row">
        <div class="layui-col-md3"><label class="fkey">原币金额：</label><label class="fval">{{formatCurrency(d.accountValue)}}</label></div>
        <div class="layui-col-md3"><label class="fkey">币制：</label><label class="fval">{{removeNull(d.currencyName)}}</label></div>
        <div class="layui-col-md3"><label class="fkey">结汇汇率：</label><label class="fval">{{removeNull(d.customsRate)}}</label></div>
        <div class="layui-col-md3"><label class="fkey">本币金额：</label><label class="fval">{{formatCurrency(d.settlementValue)}}</label></div>
    </div>
    <div class="layui-row">
        <div class="layui-col-md12"><label class="fkey">备注：</label><label class="fval">{{removeNull(d.memo)}}</label></div>
    </div>
</script>